package com.igeek.boot.service.impl;

import com.igeek.boot.entity.Role;
import com.igeek.boot.mapper.RoleMapper;
import com.igeek.boot.service.IRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jwj
 * @since 2024-01-04
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    //查询所有的角色表信息
    @Override
    public List<Role> findAll() {
        return baseMapper.selectList(null);
    }
}
